package lab03.test03;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

/**
 * Created by Administrator on 2017/11/16.
 */
public class Test {

    public static void main(String[] args) {

        //字节流读写文件
        String path = "D:\\test.txt";

        String value = "Beijing欢迎你！";
        FileOutputStream fileOutputStream = null;
        try {
            fileOutputStream = new FileOutputStream(path);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }finally {

        }
    }
}





       // 读文件
               // FileOutputStream fileOutputStream = null;
              //  try{

               // fileOutputStream=new FileOutputStream(path);
               // int tmp;
                // 一次读一个字节

               // }